This application is the GNU’s gzip for the Macintosh.
Works only with system 7.x or later (I guess)
Note: if you are udating from an earlier version, your preferences file will be reseted to the defaults.
• Using MacGzip
You can gzip files, but be careful; the resource fork will be lost. If you want gzip files with resource & info fork, use a macbinary translator first.
When you gunzip a file, if the ascii option is selected, newlines will be converted.
You can process files only one by one. This perhaps will be improved in another version (if you ask for it); the process (compress or uncompress) is selected in the “gzip” menu. This selection has no effect if the file is opened from Finder (see below).
-Preferences:
Suffix… Is an optional suffix to use instead of '.gz'. If you are using the standar suffixes, let it empty.
Compression Level is used when compressing. The higher level, the slower and better compression. (gunzip does not use this setting.)
Text creator… Is the signature of files uncompressed in ascii mode.
-Drag&Drop
When you drag & drop a file on MacGzip's icon, you can press some keys to change its behavior:
None: The file will be uncompressed in binary or ascii mode depending on the prefs saved.
'option key': The file will be gziped
'a': If you are uncompressing, force ascii mode (prefs won't be changed)
'b': If you are uncompressing, force binary mode (prefs won't be changed)
-Notes:
Cmd-period will raise a SIGINT (the program execution will terminate)
When uncompressing large .Z files, the process ends a while after the gray bar is full
• Tech. doc.
I have changed most of the stderr & stdout outputs to Mac alerts. if in your screen flashes the console window, this is a bug (please, report to the address below)
The menu “ascii” means “-a” option
The pref. Force… means “-f” option
The pref. Suffix... means "-S" option
I have used the following file Types:
suffix type creator
.gz Gzip Gzip gziped
.Z ZIVU Gzip compressed (from maccompress)
.z pZIP Gzip pkziped (from UnZip 2.0.1)
Anyway, read GNU’s gzip.doc to find out about formats.
The settings (Preferences and the gzip menu settings) are stored in the prefs folder. If you want to have two or more copies to perform different tasks, you can change the STR #128:
Example: A copy called “gunzip -a” to use it as a grinder to gunzip text files (STR #128 = 'gunzip-a prefs'; for example).
• About types & creators
When you download a file from a non-mac host, the program that you are using to download must assign it two flags: File Type and File Creator. These are two four character words that the Mac uses to know what icon they must have, what application must be opened when you make a double click on it, and if one SFGetFile (the 'open' dialog) should show the file or not.
So, you should use a downloading application with a "suffix mapping" menu or preference, or at least, a drag&drop file typer. You can find one, for example in
With this version of MacGzip, you don't need to use the correct type, but is a good idea to keep your files well typed.
• Warranty & so
The guarantee is directly proportional to the price of the application: NONE. (OK, if you loose a very important file with 2.3 Mb of data, let me know it and I will send you a few words of condolence).
BTW: if you have uncompressed a text file in binary mode, you can recover it by compressing it again and uncompressing it as ascii. But if you have uncompressed a binary file in ascii mode, you have lost the file.
READ RIGHT NOW THESE FILES ON "gzip-1.2.4 sources":
ChangeLog
COPYING
INSTALL
NEWS
README
THANKS
TODO
• Thanks to:
Timothy Murphy ("tim@maths.tcd.ie" ) for Posix lib.
tree@uvm.edu for SpinCursors code
Greg Robbins for Prefs code
C.K. Haun (Apple DTS) for Movable Modal code
Dave Rubinic for Easy Errors 1.0 resources
And all other people whose source code I used ‘for documentation’
At last, thanks to myself
macspd@ivo.cps.unizar.es
jazz@ws4.cps.unizar.es
AppleLink: SPA0301
for being so nice company.
• REWARD 0.000.000 $
BUGS (dead or alive)
Si un hombre me pidiera el roloj amenazandome con un cuchillo,
lucharia contra el con todas mis fuerzas, pero si me amenazara
con ponerme un pleito para quitarmelo, se lo entregaria convencido
de haber salido ganando.
Wencesalao Fernandez Florez (Tribulaciones de un hombre adinerado)